class_name = "CTrainLocomotive"
object_name = "Locomotive_G8"
detail_type = "DET_LOCOMOTIVE" //list of types is in \inc\SimulationSystem\DetailTypes.inc


//////	PhysicsBody properties
//VisualImage = <int TYPE>,<string File_PathName>,<bool cast_shadows>

VisualImage=0,"graphics/trains/g8/G8.mgm",true

CollisionBody="graphics/trains/g8/G8.col"

SoundScript="LuaScripts/Sound/Vehicles/G8.cfg"

ImageAttr=25	// IA_NOCLIP | IA_NOMINPIXELS | IA_NOMINPIXELS
//	IA_DEFAULT=0,
//	IA_NOCLIP=1,
//	IA_NOCLIP_ANIM=2,
//	IA_NOROTINTERPOLATION=4,
//	IA_NOMINZ=8,
//	IA_NOMINPIXELS=16,
//	IA_NOPOSINTERPOLATION=32,
//	IA_CLOSEVIEWARG=64,
//	IA_ALWAYSVISIBLE=128,
//	IA_SCALEARG=256,
//	ImageAttr=Attr1+Attr2+...+AttrN

TargetHeight = 3.0			//            

AttachedCameras = "LuaScripts\WorldObjects\fixcameras\LocomotiveCameras.txt"


[attach=0]
	position= -0.17, 0.7, 0
	object = "LuaScripts/WorldObjects/Bots/BotMachinist.txt"
[end]

[attach=1]
	position= -4.2, 3.0, 1.6
	rotation= -30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]


CommandMonitor="LuaScripts/WorldObjects/VehicleMonitor.txt"

//////	Controled body specific

sendrate = 7						//    50     (=7    7.1)

PrioritySpeed = 16.0				//  ,      ,        
MaxEngineForce = 520000.0			//    
Cdrag = 30.0						//    ,    
Crr = 700.0							//   ,   
Csf = 0.17							//     ,  ,        (  )
Cang = 30.0							//    
CrrExt = 10000.0					//    ,   
CBraking = 18000.0					//   
Mass = 40000.0						//   
WheelRadius = 0.69					//  
LengthBetweenCenterAndBack  = 2.36	//        
LengthBetweenCenterAndFront = 2.32	//        
LengthBetweenWheels = 1.49			//  (    )
OrientSmoothParam = 0.01			//       /
LightsCount = 1						// -   
LightsArgBase = 60205				//   

LengthBack = 4.86					//        
LengthFront = 5.27					//        

// Damage model

energyloss="",true,5.0,1000		//     , true -       -,       ,        

RegenerationMax = 1.0		//   Life - 
RegenerationMin = 0.5		//   Life,     
RegenerationPercent = 0.0	//  ,  Life  

Firing=0.002				//     ,  Life  
SmokeStartHealth = 0.5		//  ,      
MinFiringHealth = 0.5		//  ,    
MinMovementHealth = 0.25	//  ,    
MinAttackHealth = 0.10		//  ,    

FireEffectTime = 100.0		//       
DestructArg = 281			//  
SmokeArgBase = 60010		//   
SmokeArgTotalNum = 6		// -  , 1-     60010,   60011,   60012  ..
FiringArg = 60100			//   


ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/Train.txt"		//    
OnDropLandScript = "LuaScripts/WorldObjects/Emitters/DustBlow5_3.txt"			//     
OnDropWaterScript = "LuaScripts/WorldObjects/Emitters/WaterSpray5_3.txt"		//     

CriticalWaterLevel = 1.0		//   
CriticalHeigthLevel = 4.0		//      
DivingSpeed = 0.3				//    
ImpulseToDestroy = 600000		//      ,    
ImpulseMinimumLevel = 120000	//      ,     ()

logtreshold=0.0001				//   ,    

[CrewEscape]
	EscapeHealth=0.75f
	EscapeAtLeast=1
	DistanceToRun=50.0f
	EscapePos=-5,0,2

	EscapeVisArg=1000
	
	Bot="LuaScripts\WorldObjects\Bots\BotField_SoldierGERhat.txt"
	Bot="LuaScripts\WorldObjects\Bots\BotField_SoldierGERhat.txt"
[end]

Armor=5					//  ,  ,        

//  .         60000  30000.

[DmgElement = ammo]
	damageablePart="engine"
	LifeRate=50000
	LifeRateFrag=20000
	Armor=5
	CollisioDamageSens=1
[End]

[DmgElement = engine]
	damageablePart="hull_1"
	LifeRate=70000
	LifeRateFrag=40000
	Armor=5
	CollisioDamageSens=1
[End]

DebugInfo = false				//           